package com.sright.bcard.enterprise.web;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@SpringBootApplication(scanBasePackages = "com.sright.bcard")
@RestController
@Resource
//@EnableConfigurationProperties({CardMiniOssAuthAutoConfiguration.class, CardTranscodeAutoConfiguration.class})
public class WebApplication {
    public static void main(String[] args) {
        SpringApplication.run(WebApplication.class, args);
    }

    @GetMapping("/health")
    public String home() {
        return "欢迎来到视燃名片企业后台管理系统";
    }

}
